RegularExp::Match

Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:18:26 1991
Index Return to Main Contents
 

NAME

RegularExp::Match - instance method  

TEMPLATE

matchedLength = int Match(char * string, int pos = 0, int size = -1, RegExRegs * regs = NULL)  

SPECIFIERS

public  

DESCRIPTION

Match checks whether the substring starting at pos in the string matches the regular expression.  

ARGUMENTS

char * string

string to be matched
int pos = 0

index in the string where to start searching
int size = -1

the length of the string
argument. If it is -1, then the length is determined by the terminating zero character.
RegExRegs * regs = NULL

after return contains information about (...)
subexpressions
 

RETURN ARGUMENT

int matchedLength

the length of the matched substring or -1
if no match
 

CATEGORIES

client interface

 

FILES

implementation:
RegularExp.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:24 GMT, March 30, 2022